package com.king.hrmsdev.mapper;

import com.king.hrmsdev.pojo.VEmployReword;
import com.king.hrmsdev.entity.Salary;
import com.king.hrmsdev.pojo.VSalaryinfo;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Date;
import java.util.List;


/**
 * creat By SlaryMapper 0n 2019/9/21
 */
@Mapper
public interface SalaryMapper {

    VEmployReword QuaryRewordByID(int job_id, Date checktime);//查询员工的考勤信息*

    void AddSalary(Salary salary);//向数据库添加薪水纪录*

    List<VSalaryinfo> QuarySalary(int job_id,String ename,Date time);//查询薪水纪录*

    List<VSalaryinfo> QuaryAllSalary();

    void deleteall();

    void clearid();

}
